package com.gxa.eshps.cores.common;

import java.util.HashMap;
import java.util.Map;
/**
 * @author Administrator
 */
public class JsonResult {

    Map<String,Object> map = new HashMap<>();


    public void setCode(String code){

        map.put("code",code);
    }

    public void setMsg(String msg){

        map.put("msg",msg);
    }
    public void setData(Object data){
        map.put("data",data);
    }

    public void set(String name,Object value){
        map.put(name,value);
    }

    public Map<String,Object> getMap(){

        return map;
    }



}
